home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5333 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: Norway.EU.net!usenet
  2. From: patrick.hanevold@login.eunet.no (Patrick Hanevold)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Ceck out this bug. What the *** is SASC/6.56 doing?
  5. Date: 13 Mar 1996 04:20:43 GMT
  6. Organization: EUnet Norway
  7. Message-ID: <885.6646T9T693@login.eunet.no>
  8. References: <1120.6643T91T406@login.eunet.no> <4hvk1f$o0c@zeus.central.ntua.gr>
  9.     <874.6644T381T2315@login.eunet.no> <4i17ga$doo@btmpjg.god.bel.alcatel.be>
  10. NNTP-Posting-Host: pc2.asker-pm2-1.eunet.no
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13.  
  14. >>Tryed "Stack check" and all that. No difference.
  15. >>Anyway, the default stack is 4K isnt it?
  16. >>Cant think of anything using that additional 1K.
  17. >>Dont want it global. Allocate it myself now.
  18. >>
  19. >OpenScreenTags() need stack too!! Together with the already used stack
  20. >by _main, and the 3252 bytes of main(), you only have about 800 bytes
  21. >left for OpenScreenTags(), might be too small. Stackcheck will not
  22. >find this, because stackcheck does not know the stack-usage of
  23. >OpenScreenTags().
  24.  
  25. OpenScreenTags() doesnt crash. exit(0) does.
  26. I guess it maby could mess up so exit(0) would crash.
  27. Stach check should be smart enough to fail if there was too litle stack left.
  28. I would guess none of the OS calls would need more then 4K since thats the
  29. default stack size.
  30.  
  31. <sb>Patrick Hanevold - Virtual Reality developer
  32. <sb>patrick.hanevold@login.eunet.no
  33. <sb>Amiga and official Be developer
  34.  
  35.